<?php
namespace app\admin\controller;
use think\Controller;
class Common extends Controller{
	 function initialize(){
		$session = Session('a_name');
		
		if($session==''){
			$this->error('请先登录','login/login');
		}
		
	}
}
?>